<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022-03-12
  Time: 17:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      out.print("session id："+session.getId()+"<br/>");
      out.print("session 创建会活的session："+new java.util.Date(session.getCreationTime())+"<br/>");
      out.print("session 上次访问的时间："+new java.util.Date(session.getLastAccessedTime())+"<br/>");
      out.print("session 会话最多允许的时间时间间隔："+session.getMaxInactiveInterval()+"<br/>");
  %>
</body>
</html>
